package office.action.hr.form;

import office.bo.hr.IRecruitRequirement;
import office.bo.hr.impl.RecruitRequirement;
import platform.common.bo.IIdentifiableObj;

/**
 * 招聘需求Form
 * @author ibmsz
 *
 */
public class RecruitRequirementForm {

	private String id;
	private String station;				//需求岗位
	private String equirementdate;		//用工日期
	private int population;				//需求人数
	private String remak;				//备注
	private String stationRequire;		//岗位要求
	private String deptId;
	
	public IIdentifiableObj copyPropertiesToBO(IIdentifiableObj newObj) {
		RecruitRequirement bo = (RecruitRequirement)newObj;
		bo.setId(this.id);
		bo.setStation(station);
		bo.setEquirementdate(equirementdate);
		bo.setPopulation(population);
		bo.setRemak(remak);
		bo.setStationRequire(stationRequire);
		return bo;
	}
	
	public void copyPropertiesFromBO(IIdentifiableObj baseBO) {
		IRecruitRequirement bo = (IRecruitRequirement)baseBO;
		this.id = bo.getId().toString();
		this.station = bo.getStation();
		this.equirementdate = bo.getEquirementdate();
		this.population = bo.getPopulation();
		this.remak = bo.getRemak();
		this.stationRequire = bo.getStationRequire();
		
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getStation() {
		return station;
	}
	public void setStation(String station) {
		this.station = station;
	}
	public String getEquirementdate() {
		return equirementdate;
	}
	public void setEquirementdate(String equirementdate) {
		this.equirementdate = equirementdate;
	}
	public int getPopulation() {
		return population;
	}
	public void setPopulation(int population) {
		this.population = population;
	}
	public String getRemak() {
		return remak;
	}
	public void setRemak(String remak) {
		this.remak = remak;
	}
	public String getStationRequire() {
		return stationRequire;
	}
	public void setStationRequire(String stationRequire) {
		this.stationRequire = stationRequire;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}
	
}
